<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html"
xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<form action="/login" method="post">
    <span>账号</span><input type="text" name="username"></br>
    <span>密码</span><input type="password" name="password"></br>
    <span>记住我</span><input type="checkbox" name="rememberMe">
    <input type="submit">登录</input>
</form>

<#if RequestParameters['error']??>
    用户名称或者密码错误
</#if>

</body>
</html>